Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android Java files support Cordova 1.9+, also BlackBerry support #11

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

filmaj
Copy link
Contributor

@filmaj filmaj commented Jun 26, 2012

BlackBerry support will be dependent on BlackBerry support landing in pluginstall.

For the Android Java updates, pretty sure this would eliminate support for Cordova before 1.9. Fair warning.

Also consolidated the .js between Android and BlackBerry. No longer require a separate API there.

Finally: put all of the image assets into the common www/childbrowser/ folder. Figured it was not worth keeping separate assets for BlackBerry and Android.

@alunny
Copy link
Owner

alunny commented Jun 28, 2012

How does 558e2a6 affect Android Cordova > 1.9?

@filmaj
Copy link
Contributor Author

filmaj commented Jun 28, 2012

ctx in plugins hold a reference to the new CordovaInterface class that the embeddable version of Cordova introduces.

So it does not directly translate into an Activity / Context. It can, in most cases it does, but it is not necessary. Think of the case where Cordova is embedded inside a larger native application. No guarantee that the "housing" class is an instance of Activity or Context.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants